function upquanti(){
    var soluong = $('#sl').val();
    var nesolu  = parseInt(soluong)+ 1;
    $('#sl').val(nesolu);
}
function downquanti(){
    var soluong = $('#sl').val();
    if (soluong > 1) {
        var nesolu  = parseInt(soluong)- 1;
        $('#sl').val(nesolu);
    }
}

$(document).ready(function($) {

    $('#slbaner_d').royalSlider({
        arrowsNav: false,
        arrowsNavAutoHide: false,
        fadeinLoadedSlide: false,
        controlNavigation: 'none',
        imageScaleMode: 'none',
        imageAlignCenter: true,
        loop: false,
        loopRewind: false,
        startSlideId: 0,
        numImagesToPreload: 4,
        slidesOrientation: 'horizaltal',
        keyboardNavEnabled: true,
        autoCenter: false
    });

    $('#full-width-slider').royalSlider({
        arrowsNav: true,
        keyboardNavEnabled: true,
        controlsInside: false,
        imageScaleMode: 'fill',
        arrowsNavAutoHide: false,
        autoScaleSlider: false,
        controlNavigation: 'bullets',
        thumbsFitInViewport: false,
        navigateByClick: true,
        loop: true,
        startSlideId: 0,
        autoplay: {
            enabled: 1,
            stopAtAction: !0,
            pauseOnHover: !0,
            delay: 3000
        },
        transitionType: 'move',
        globalCaption: true,
        deeplinking: {
            enabled: true,
            change: false
        },
    });
});
